<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
  @page {
    size: 600px 400px;
    margin: 0;
  }
  body { margin: 0; }
</style>
<div style="margin-left:auto; margin-right:50px; writing-mode:vertical-rl; height:400px; background:yellow;">
  50px to the left of page box right edge.<br>
  Page widths larger than heights.<br>
</div>
<div style="break-before:page;"></div>
<div style="margin-left:auto; margin-top:50px; writing-mode:vertical-rl; height:350px; background:yellow;">
  50px below the page box top edge.<br>
</div>
